package com.petter.jvm.stack;

import com.petter.demo.User;

/**
 * @author : GD
 * @date :2021/9/18 : 9:25
 */
public class OperandTest1 {

    public static void main(String[] args) {
        (new OperandTest1()).test1();
//        User user = new User();
    }


    public void test1(){
        int i1 = 10;
        i1++;
        int i2 = 10;
        ++i2;

        int i3 = 10;
        i3 = i3++;
//        System.out.println(i3);
        int i4 = 10;
        i4 = ++i4;
//        System.out.println(i4);
        int i5 = 10;
        int i6 = 10;
        int i7 = ++i5 + i6++;
//        System.out.println(i7);

    }
}
